How to Properly Call a Function in Oracle SQL and Fix the ORA-00933 Error